package com.caipin.domain.web;

/**
 * @Author: zhunian0322@163.com
 * @DateTime: 2021-10-06 11:47
 * @Description: TODO
 */
public class AbnormalResultsRotationChart {
    private String studentName;

    private String studentClass;

    private String eventName;

    private String imageSrc;

    public com.caipin.domain.web.AbnormalResultsRotationChart setStudentName(String studentName) {
        this.studentName = studentName;
        return this;
    }

    public com.caipin.domain.web.AbnormalResultsRotationChart setStudentClass(String studentClass) {
        this.studentClass = studentClass;
        return this;
    }

    public com.caipin.domain.web.AbnormalResultsRotationChart setEventName(String eventName) {
        this.eventName = eventName;
        return this;
    }

    public com.caipin.domain.web.AbnormalResultsRotationChart setImageSrc(String imageSrc) {
        this.imageSrc = imageSrc;
        return this;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.caipin.domain.web.AbnormalResultsRotationChart))
            return false;
        com.caipin.domain.web.AbnormalResultsRotationChart other = (com.caipin.domain.web.AbnormalResultsRotationChart)o;
        if (!other.canEqual(this))
            return false;
        Object this$studentName = getStudentName(), other$studentName = other.getStudentName();
        if ((this$studentName == null) ? (other$studentName != null) : !this$studentName.equals(other$studentName))
            return false;
        Object this$studentClass = getStudentClass(), other$studentClass = other.getStudentClass();
        if ((this$studentClass == null) ? (other$studentClass != null) : !this$studentClass.equals(other$studentClass))
            return false;
        Object this$eventName = getEventName(), other$eventName = other.getEventName();
        if ((this$eventName == null) ? (other$eventName != null) : !this$eventName.equals(other$eventName))
            return false;
        Object this$imageSrc = getImageSrc(), other$imageSrc = other.getImageSrc();
        return !((this$imageSrc == null) ? (other$imageSrc != null) : !this$imageSrc.equals(other$imageSrc));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.caipin.domain.web.AbnormalResultsRotationChart;
    }

    public int hashCode() {
        int PRIME = 59;
        result = 1;
        Object $studentName = getStudentName();
        result = result * 59 + (($studentName == null) ? 43 : $studentName.hashCode());
        Object $studentClass = getStudentClass();
        result = result * 59 + (($studentClass == null) ? 43 : $studentClass.hashCode());
        Object $eventName = getEventName();
        result = result * 59 + (($eventName == null) ? 43 : $eventName.hashCode());
        Object $imageSrc = getImageSrc();
        return result * 59 + (($imageSrc == null) ? 43 : $imageSrc.hashCode());
    }

    public String toString() {
        return "AbnormalResultsRotationChart(studentName=" + getStudentName() + ", studentClass=" + getStudentClass() + ", eventName=" + getEventName() + ", imageSrc=" + getImageSrc() + ")";
    }

    public AbnormalResultsRotationChart(String studentName, String studentClass, String eventName, String imageSrc) {
        this.studentName = studentName;
        this.studentClass = studentClass;
        this.eventName = eventName;
        this.imageSrc = imageSrc;
    }

    public AbnormalResultsRotationChart() {}

    public String getStudentName() {
        return this.studentName;
    }

    public String getStudentClass() {
        return this.studentClass;
    }

    public String getEventName() {
        return this.eventName;
    }

    public String getImageSrc() {
        return this.imageSrc;
    }
}

